Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nyc 13.1.0 → 17.0.0 (major) #246

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jun 11, 2024

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ nyc (13.1.0 → 17.0.0) · Repo · Changelog

Release Notes

17.0.0 (from changelog)

⚠ BREAKING CHANGES

  • minimum Node version now 18

Bug Fixes

Build System

  • minimum Node version now 18 (9ef340e)

15.1.0 (from changelog)

Features

  • experimental: Support using --all with node.js ESM (#1320) (992359a)

15.0.1 (from changelog)

Bug Fixes

15.0.0 (from changelog)

⚠ BREAKING CHANGES

  • The flow and jsx parser plugins are no longer enabled by default.
  • Node.js 8 is now required to run nyc
  • Remove NYC_ROOT_ID and NYC_INSTRUMENTER environmental variables.
  • The root field has been removed from processinfo files.

Features

Bug Fixes

14.1.1 (from changelog)

Bug Fixes

  • check-coverage: make the --temp-dir option visible (#1101) (b5b67de)
  • cli: Report error if unwanted positional arguments are received (#1100) (57debc1), closes #401

14.1.0 (from changelog)

Bug Fixes

  • Do not crash when nyc is run inside itself. (#1068) (c4fcf5e), closes #1067
  • Exit with code 1 when nyc doesn't know what to do. (#1070) (21fb2c8)
  • Purge source-map cache before reporting if cache is disabled. (#1080) (3d9eaa4)
  • Use correct config property for parser plugins (#1082) (a7bc7ae)

Features

14.0.0 (from changelog)

Bug Fixes

Features

  • Add delete option to instrument command (#1005) (d6db551)
  • Add include and exclude options to instrument command (#1007) (8da097e)
  • Add processinfo index, add externalId (#1055) (8dcf180)
  • Add support for nyc.config.js (#1019) (3b203c7)
  • Add support to exclude files on coverage report generation (#982) (509c6aa)
  • Add test-exclude args to check-coverage and report subcommands. (0fc217e)
  • Always build the processinfo temp dir (#1061) (c213469)
  • Enable es-modules option for nyc instrument command (#1006) (596b120)
  • Fix excludeAfterRemap functionality. (36bcc0b)
  • Implement nyc instrument --complete-copy (#1056) (2eb13c6)
  • Remove bundling (#1017) (b25492a)
  • Support turning off node_modules default exclude via exclude-node-modules option (#912) (b7e16cd)
  • Add support for --exclude-node-modules to subcommands. (#1053) (e597c46)

BREAKING CHANGES

  • The --exclude-after-remap option is now functional and enabled by default. This causes the include and exclude lists to be processed after using source maps to determine the original filename of sources.
  • Add a file named 'index.json' to the .nyc_output/processinfo directory, which has a different format from the other files in this dir.
  • Change the data type of the pid/ppid fields in processinfo files
  • nyc instrument now honors include and exclude settings, potentially resulting in some files that were previously instrumented being ignored.
  • The plugins option has been renamed to parser-plugins.
  • The logic involving include/exclude processing has changed. Results should be verified to ensure all desired sources have coverage data.
  • nyc instrument now enables the --es-module option by default. This can cause failures to instrument scripts which violate 'use strict' rules.

13.3.0 (from changelog)

Bug Fixes

  • update dependendencies due to vulnerabilities (#992) (e8cc59b), closes #991

Features

13.2.0 (from changelog)

Bug Fixes

Features

Does any of this look wrong? Please let us know.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants